<template>
	<view class="my">
		<view class="top">
			<view class="top-l">
				<text>Dennis.ZOO</text>
				<text>积分：0</text>
			</view>
			<view class="top-r" @click="toSetting">
				<image src="" mode=""></image>
			</view>
		</view>
		<view class="top1">
			<view class="top1-l">
				<text>可提余额</text>
				<text @click="toBalance">¥12.00</text>
			</view>
			<view class="top1-r">
				<text @click="toWithdraw">提现</text>
			</view>
		</view>
		<view class="order">
			<view class="title">
				<text>我的订单</text>
				<text>全部</text>
			</view>
			<view class="cont">
				<view class="c-item">
					<image src="" mode=""></image>
					<text>代付款</text>
				</view>
				<view class="c-item">
					<image src="" mode=""></image>
					<text>已付款</text>
				</view>
				<view class="c-item">
					<image src="" mode=""></image>
					<text>待发货</text>
				</view>
				<view class="c-item">
					<image src="" mode=""></image>
					<text>已完成</text>
				</view>
				<view class="c-item">
					<image src="" mode=""></image>
					<text>待评价</text>
				</view>
			</view>
		</view>
		
		<view class="block">
			<view class="b-item">
				<image src="" mode=""></image>
				<text>优惠券</text>
				<text>3张可用</text>
			</view>
			<view class="b-item">
				<image src="" mode=""></image>
				<text>地址管理</text>
				<text>2个地址</text>
			</view>
			<view class="b-item">
				<image src="" mode=""></image>
				<text>帮助中心</text>
				<text>&nbsp;</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {
			
		},
		data() {
			return {

			};
		},
		onLoad() {
			this.getMyData();
		},
		methods:{
			getMyData(){
				
			},
			
		}
	}
</script>

<style>
	.my {
		width: 100%;
		/* padding: 20upx 10upx; */
		font-size: 26upx;
	}
	.top {
		/* width: calc(100% - 20upx); */
		height: 178upx;
		background-color: #808080;
		border-radius:0px 0px 6upx 6upx;
		display: flex;
		align-items: center;
	}
	.top .top-l {
		flex: 1;
		color: #fff;
		padding-left: 40upx;
	}
	.top .top-l text:first-child {
		display: block;
		font-size: 36upx;
	}
	.top .top-l text:last-child {
		display: inline-block;
		font-size: 24upx;
		background-color: #333333;
		border-radius: 8upx;
		padding: 6upx 8upx;
		margin-top: 20upx;
		min-width: 200upx;
	}
	.top .top-r {
		width: 132upx;
	}
	.top .top-r image {
		width: 92upx;
		height: 92upx;
		background-color: #fff;
		border-radius: 100%;
	}
	.top1 {
		width: 624upx;
		background-color: #BEBEBE;
		margin: auto;
		display: flex;
		align-items: center;
		padding: 20upx 30upx;
	}
	.top1 .top1-l {
		color: #fff;
		flex: 1;
	}
	.top1 .top1-l text:first-child {
		font-size: 24upx;
		display: block;
	}
	.top1 .top1-l text:last-child {
		font-size: 40upx;
		display: block;
		margin-top: 10upx;
	}
	.top1 .top1-r {
		width: 142upx;
	}
	.top1 .top1-r text {
		display: block;
		width: 100%;
		height: 56upx;
		line-height: 56upx;
		background-color: #fff;
		color: #333;
		text-align: center;
		border-radius: 8upx;
	}
	.order {
		margin-top: 60upx;
		width: 100%;
		height: 282upx;
		background-color: #E9E9E9;
	}
	.order .title {
		height: 87upx;
		background-color: #D5D5D5;
		line-height: 87upx;
		padding: 0 20upx;
	}
	.order .title text:last-child {
		float: right;
	}
	.order .cont {
		display: flex;
	}
	.order .c-item {
		flex: 1;
		text-align: center;
		padding: 30upx 0;
	}
	.order .c-item image {
		width: 88upx;
		height: 88upx;
		background-color: #FFFFFF;
		border-radius: 100%;
	}
	.order .c-item text {
		display: block;
		margin-top: 10upx;
	}
	.block {
		width: 100%;
		height: 279upx;
		display: flex;
		margin-top: 50upx;
	}
	.block .b-item {
		flex: 1;
		height: 279upx;
		background-color: #E9E9E9;
		margin-right: 20upx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		line-height: 40upx;
	}
	.block .b-item:last-child {
		margin-right: 0;
	}
	.block .b-item image {
		width: 97upx;
		height: 97upx;
		background-color: #fff;
		border-radius: 100%;
		margin-bottom: 20upx;
	}
	.block .b-item text:first-child {
		font-size: 30upx;
		color: #333333;
	}
	.block .b-item text:last-child {
		color: #999999;
		font-size: 24upx;
	}
</style>
